package  com.rrs.cost.obversion.dao;

import javax.annotation.Resource;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import  com.rrs.cost.obversion.CostObversion;
import org.rk.core.pub.base.dao.DBDao;


@Repository("CostObversionDao")
public class CostObversionDao extends DBDao<CostObversion> implements ICostObversionDao{

	@Resource
	public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
		super.setJdbcTemplate(jdbcTemplate);
	}
	@Override
	public boolean deleteById(Long id){
		CostObversion model=new CostObversion();
		model.setId(id);
		return super.deleteModel(model);
	}
}
